package com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities;

import java.util.ArrayList;
import java.util.List;

public class FlowTaskCandidateSettingsExample {

    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FlowTaskCandidateSettingsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDeployIdIsNull() {
            addCriterion("deploy_id is null");
            return (Criteria) this;
        }

        public Criteria andDeployIdIsNotNull() {
            addCriterion("deploy_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeployIdEqualTo(String value) {
            addCriterion("deploy_id =", value, "deployId");
            return (Criteria) this;
        }

        public Criteria andDeployIdNotEqualTo(String value) {
            addCriterion("deploy_id <>", value, "deployId");
            return (Criteria) this;
        }

        public Criteria andDeployIdGreaterThan(String value) {
            addCriterion("deploy_id >", value, "deployId");
            return (Criteria) this;
        }

        public Criteria andDeployIdGreaterThanOrEqualTo(String value) {
            addCriterion("deploy_id >=", value, "deployId");
            return (Criteria) this;
        }

        public Criteria andDeployIdLessThan(String value) {
            addCriterion("deploy_id <", value, "deployId");
            return (Criteria) this;
        }

        public Criteria andDeployIdLessThanOrEqualTo(String value) {
            addCriterion("deploy_id <=", value, "deployId");
            return (Criteria) this;
        }

        public Criteria andDeployIdLike(String value) {
            addCriterion("deploy_id like", value, "deployId");
            return (Criteria) this;
        }

        public Criteria andDeployIdNotLike(String value) {
            addCriterion("deploy_id not like", value, "deployId");
            return (Criteria) this;
        }

        public Criteria andDeployIdIn(List<String> values) {
            addCriterion("deploy_id in", values, "deployId");
            return (Criteria) this;
        }

        public Criteria andDeployIdNotIn(List<String> values) {
            addCriterion("deploy_id not in", values, "deployId");
            return (Criteria) this;
        }

        public Criteria andDeployIdBetween(String value1, String value2) {
            addCriterion("deploy_id between", value1, value2, "deployId");
            return (Criteria) this;
        }

        public Criteria andDeployIdNotBetween(String value1, String value2) {
            addCriterion("deploy_id not between", value1, value2, "deployId");
            return (Criteria) this;
        }

        public Criteria andNodeCodeIsNull() {
            addCriterion("node_code is null");
            return (Criteria) this;
        }

        public Criteria andNodeCodeIsNotNull() {
            addCriterion("node_code is not null");
            return (Criteria) this;
        }

        public Criteria andNodeCodeEqualTo(String value) {
            addCriterion("node_code =", value, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andNodeCodeNotEqualTo(String value) {
            addCriterion("node_code <>", value, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andNodeCodeGreaterThan(String value) {
            addCriterion("node_code >", value, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andNodeCodeGreaterThanOrEqualTo(String value) {
            addCriterion("node_code >=", value, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andNodeCodeLessThan(String value) {
            addCriterion("node_code <", value, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andNodeCodeLessThanOrEqualTo(String value) {
            addCriterion("node_code <=", value, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andNodeCodeLike(String value) {
            addCriterion("node_code like", value, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andNodeCodeNotLike(String value) {
            addCriterion("node_code not like", value, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andNodeCodeIn(List<String> values) {
            addCriterion("node_code in", values, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andNodeCodeNotIn(List<String> values) {
            addCriterion("node_code not in", values, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andNodeCodeBetween(String value1, String value2) {
            addCriterion("node_code between", value1, value2, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andNodeCodeNotBetween(String value1, String value2) {
            addCriterion("node_code not between", value1, value2, "nodeCode");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNull() {
            addCriterion("data_type is null");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNotNull() {
            addCriterion("data_type is not null");
            return (Criteria) this;
        }

        public Criteria andDataTypeEqualTo(String value) {
            addCriterion("data_type =", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotEqualTo(String value) {
            addCriterion("data_type <>", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThan(String value) {
            addCriterion("data_type >", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThanOrEqualTo(String value) {
            addCriterion("data_type >=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThan(String value) {
            addCriterion("data_type <", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThanOrEqualTo(String value) {
            addCriterion("data_type <=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLike(String value) {
            addCriterion("data_type like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotLike(String value) {
            addCriterion("data_type not like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeIn(List<String> values) {
            addCriterion("data_type in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotIn(List<String> values) {
            addCriterion("data_type not in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeBetween(String value1, String value2) {
            addCriterion("data_type between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotBetween(String value1, String value2) {
            addCriterion("data_type not between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeIsNull() {
            addCriterion("candidate_type is null");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeIsNotNull() {
            addCriterion("candidate_type is not null");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeEqualTo(String value) {
            addCriterion("candidate_type =", value, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeNotEqualTo(String value) {
            addCriterion("candidate_type <>", value, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeGreaterThan(String value) {
            addCriterion("candidate_type >", value, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeGreaterThanOrEqualTo(String value) {
            addCriterion("candidate_type >=", value, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeLessThan(String value) {
            addCriterion("candidate_type <", value, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeLessThanOrEqualTo(String value) {
            addCriterion("candidate_type <=", value, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeLike(String value) {
            addCriterion("candidate_type like", value, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeNotLike(String value) {
            addCriterion("candidate_type not like", value, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeIn(List<String> values) {
            addCriterion("candidate_type in", values, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeNotIn(List<String> values) {
            addCriterion("candidate_type not in", values, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeBetween(String value1, String value2) {
            addCriterion("candidate_type between", value1, value2, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateTypeNotBetween(String value1, String value2) {
            addCriterion("candidate_type not between", value1, value2, "candidateType");
            return (Criteria) this;
        }

        public Criteria andCandidateNameIsNull() {
            addCriterion("candidate_name is null");
            return (Criteria) this;
        }

        public Criteria andCandidateNameIsNotNull() {
            addCriterion("candidate_name is not null");
            return (Criteria) this;
        }

        public Criteria andCandidateNameEqualTo(String value) {
            addCriterion("candidate_name =", value, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateNameNotEqualTo(String value) {
            addCriterion("candidate_name <>", value, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateNameGreaterThan(String value) {
            addCriterion("candidate_name >", value, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateNameGreaterThanOrEqualTo(String value) {
            addCriterion("candidate_name >=", value, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateNameLessThan(String value) {
            addCriterion("candidate_name <", value, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateNameLessThanOrEqualTo(String value) {
            addCriterion("candidate_name <=", value, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateNameLike(String value) {
            addCriterion("candidate_name like", value, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateNameNotLike(String value) {
            addCriterion("candidate_name not like", value, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateNameIn(List<String> values) {
            addCriterion("candidate_name in", values, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateNameNotIn(List<String> values) {
            addCriterion("candidate_name not in", values, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateNameBetween(String value1, String value2) {
            addCriterion("candidate_name between", value1, value2, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateNameNotBetween(String value1, String value2) {
            addCriterion("candidate_name not between", value1, value2, "candidateName");
            return (Criteria) this;
        }

        public Criteria andCandidateValueIsNull() {
            addCriterion("candidate_value is null");
            return (Criteria) this;
        }

        public Criteria andCandidateValueIsNotNull() {
            addCriterion("candidate_value is not null");
            return (Criteria) this;
        }

        public Criteria andCandidateValueEqualTo(String value) {
            addCriterion("candidate_value =", value, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andCandidateValueNotEqualTo(String value) {
            addCriterion("candidate_value <>", value, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andCandidateValueGreaterThan(String value) {
            addCriterion("candidate_value >", value, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andCandidateValueGreaterThanOrEqualTo(String value) {
            addCriterion("candidate_value >=", value, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andCandidateValueLessThan(String value) {
            addCriterion("candidate_value <", value, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andCandidateValueLessThanOrEqualTo(String value) {
            addCriterion("candidate_value <=", value, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andCandidateValueLike(String value) {
            addCriterion("candidate_value like", value, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andCandidateValueNotLike(String value) {
            addCriterion("candidate_value not like", value, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andCandidateValueIn(List<String> values) {
            addCriterion("candidate_value in", values, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andCandidateValueNotIn(List<String> values) {
            addCriterion("candidate_value not in", values, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andCandidateValueBetween(String value1, String value2) {
            addCriterion("candidate_value between", value1, value2, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andCandidateValueNotBetween(String value1, String value2) {
            addCriterion("candidate_value not between", value1, value2, "candidateValue");
            return (Criteria) this;
        }

        public Criteria andForcePickIsNull() {
            addCriterion("force_pick is null");
            return (Criteria) this;
        }

        public Criteria andForcePickIsNotNull() {
            addCriterion("force_pick is not null");
            return (Criteria) this;
        }

        public Criteria andForcePickEqualTo(String value) {
            addCriterion("force_pick =", value, "forcePick");
            return (Criteria) this;
        }

        public Criteria andForcePickNotEqualTo(String value) {
            addCriterion("force_pick <>", value, "forcePick");
            return (Criteria) this;
        }

        public Criteria andForcePickGreaterThan(String value) {
            addCriterion("force_pick >", value, "forcePick");
            return (Criteria) this;
        }

        public Criteria andForcePickGreaterThanOrEqualTo(String value) {
            addCriterion("force_pick >=", value, "forcePick");
            return (Criteria) this;
        }

        public Criteria andForcePickLessThan(String value) {
            addCriterion("force_pick <", value, "forcePick");
            return (Criteria) this;
        }

        public Criteria andForcePickLessThanOrEqualTo(String value) {
            addCriterion("force_pick <=", value, "forcePick");
            return (Criteria) this;
        }

        public Criteria andForcePickLike(String value) {
            addCriterion("force_pick like", value, "forcePick");
            return (Criteria) this;
        }

        public Criteria andForcePickNotLike(String value) {
            addCriterion("force_pick not like", value, "forcePick");
            return (Criteria) this;
        }

        public Criteria andForcePickIn(List<String> values) {
            addCriterion("force_pick in", values, "forcePick");
            return (Criteria) this;
        }

        public Criteria andForcePickNotIn(List<String> values) {
            addCriterion("force_pick not in", values, "forcePick");
            return (Criteria) this;
        }

        public Criteria andForcePickBetween(String value1, String value2) {
            addCriterion("force_pick between", value1, value2, "forcePick");
            return (Criteria) this;
        }

        public Criteria andForcePickNotBetween(String value1, String value2) {
            addCriterion("force_pick not between", value1, value2, "forcePick");
            return (Criteria) this;
        }

        public Criteria andIsPickIsNull() {
            addCriterion("is_pick is null");
            return (Criteria) this;
        }

        public Criteria andIsPickIsNotNull() {
            addCriterion("is_pick is not null");
            return (Criteria) this;
        }

        public Criteria andIsPickEqualTo(String value) {
            addCriterion("is_pick =", value, "isPick");
            return (Criteria) this;
        }

        public Criteria andIsPickNotEqualTo(String value) {
            addCriterion("is_pick <>", value, "isPick");
            return (Criteria) this;
        }

        public Criteria andIsPickGreaterThan(String value) {
            addCriterion("is_pick >", value, "isPick");
            return (Criteria) this;
        }

        public Criteria andIsPickGreaterThanOrEqualTo(String value) {
            addCriterion("is_pick >=", value, "isPick");
            return (Criteria) this;
        }

        public Criteria andIsPickLessThan(String value) {
            addCriterion("is_pick <", value, "isPick");
            return (Criteria) this;
        }

        public Criteria andIsPickLessThanOrEqualTo(String value) {
            addCriterion("is_pick <=", value, "isPick");
            return (Criteria) this;
        }

        public Criteria andIsPickLike(String value) {
            addCriterion("is_pick like", value, "isPick");
            return (Criteria) this;
        }

        public Criteria andIsPickNotLike(String value) {
            addCriterion("is_pick not like", value, "isPick");
            return (Criteria) this;
        }

        public Criteria andIsPickIn(List<String> values) {
            addCriterion("is_pick in", values, "isPick");
            return (Criteria) this;
        }

        public Criteria andIsPickNotIn(List<String> values) {
            addCriterion("is_pick not in", values, "isPick");
            return (Criteria) this;
        }

        public Criteria andIsPickBetween(String value1, String value2) {
            addCriterion("is_pick between", value1, value2, "isPick");
            return (Criteria) this;
        }

        public Criteria andIsPickNotBetween(String value1, String value2) {
            addCriterion("is_pick not between", value1, value2, "isPick");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(String value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(String value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(String value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(String value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(String value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLike(String value) {
            addCriterion("create_time like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotLike(String value) {
            addCriterion("create_time not like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<String> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<String> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(String value1, String value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(String value1, String value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(String value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(String value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(String value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(String value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(String value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLike(String value) {
            addCriterion("update_time like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotLike(String value) {
            addCriterion("update_time not like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<String> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<String> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(String value1, String value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(String value1, String value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerIsNull() {
            addCriterion("next_node_handler is null");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerIsNotNull() {
            addCriterion("next_node_handler is not null");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerEqualTo(String value) {
            addCriterion("next_node_handler =", value, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerNotEqualTo(String value) {
            addCriterion("next_node_handler <>", value, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerGreaterThan(String value) {
            addCriterion("next_node_handler >", value, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerGreaterThanOrEqualTo(String value) {
            addCriterion("next_node_handler >=", value, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerLessThan(String value) {
            addCriterion("next_node_handler <", value, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerLessThanOrEqualTo(String value) {
            addCriterion("next_node_handler <=", value, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerLike(String value) {
            addCriterion("next_node_handler like", value, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerNotLike(String value) {
            addCriterion("next_node_handler not like", value, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerIn(List<String> values) {
            addCriterion("next_node_handler in", values, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerNotIn(List<String> values) {
            addCriterion("next_node_handler not in", values, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerBetween(String value1, String value2) {
            addCriterion("next_node_handler between", value1, value2, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andNextNodeHandlerNotBetween(String value1, String value2) {
            addCriterion("next_node_handler not between", value1, value2, "nextNodeHandler");
            return (Criteria) this;
        }

        public Criteria andControlNodeIsNull() {
            addCriterion("control_node is null");
            return (Criteria) this;
        }

        public Criteria andControlNodeIsNotNull() {
            addCriterion("control_node is not null");
            return (Criteria) this;
        }

        public Criteria andControlNodeEqualTo(String value) {
            addCriterion("control_node =", value, "controlNode");
            return (Criteria) this;
        }

        public Criteria andControlNodeNotEqualTo(String value) {
            addCriterion("control_node <>", value, "controlNode");
            return (Criteria) this;
        }

        public Criteria andControlNodeGreaterThan(String value) {
            addCriterion("control_node >", value, "controlNode");
            return (Criteria) this;
        }

        public Criteria andControlNodeGreaterThanOrEqualTo(String value) {
            addCriterion("control_node >=", value, "controlNode");
            return (Criteria) this;
        }

        public Criteria andControlNodeLessThan(String value) {
            addCriterion("control_node <", value, "controlNode");
            return (Criteria) this;
        }

        public Criteria andControlNodeLessThanOrEqualTo(String value) {
            addCriterion("control_node <=", value, "controlNode");
            return (Criteria) this;
        }

        public Criteria andControlNodeLike(String value) {
            addCriterion("control_node like", value, "controlNode");
            return (Criteria) this;
        }

        public Criteria andControlNodeNotLike(String value) {
            addCriterion("control_node not like", value, "controlNode");
            return (Criteria) this;
        }

        public Criteria andControlNodeIn(List<String> values) {
            addCriterion("control_node in", values, "controlNode");
            return (Criteria) this;
        }

        public Criteria andControlNodeNotIn(List<String> values) {
            addCriterion("control_node not in", values, "controlNode");
            return (Criteria) this;
        }

        public Criteria andControlNodeBetween(String value1, String value2) {
            addCriterion("control_node between", value1, value2, "controlNode");
            return (Criteria) this;
        }

        public Criteria andControlNodeNotBetween(String value1, String value2) {
            addCriterion("control_node not between", value1, value2, "controlNode");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}